<?php

CRequire('CObject');

global $_AppPlugins;
$_AppPlugins = array();

class AppPlugin extends CObject {
	var $App;
	
	function Init(&$app) {
		$this->App = &$app;
	}
	
	function RegisterWithName($name, $class) {
		$GLOBALS['_AppPlugins'][$name] = CSymbol($class);
	}
	
	function RegisteredPlugins() {
		return $GLOBALS['_AppPlugins'];
	}
	
	function PreRender() { }
	
	function PostRender() { }
	
	function PreExecute() {	}
}

?>